Jump To:
Technical Q&As
Cocoa is an object-oriented application environment designed specifically for developing Mac OS X native applications. The Cocoa frameworks support rapid development and high productivity, and include a full-featured set of classes designed to create robust and powerful Mac OS X applications. Cocoa provides developers starting new Mac OS X projects the fastest way to full-featured, extensible, and maintainable implementations. Applications from UNIX and other platforms can also be brought to Mac OS X quickly by using Cocoa to build state-of-the-art Aqua user interfaces while retaining most existing core code.

Cocoa Resources
A guided introduction and learning path for developers new to Cocoa.   Essential information for developers using Objective-C and Java.   Objective-C and Java programming specifications, organized by framework.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Date
Environment Variables (HTML)
QA1255: Describes how a process gets its environment variables.
Runtime Architecture 2003-10-29
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Runtime Architecture 2001-10-25
Static linking of user binaries on Mac OS X (HTML) ()
QA1118: Explains why static linking of user binaries is not supported on Mac OS X, and possible workarounds.
Runtime Architecture 2002-02-07
Converting Simplified Chinese (HTML) ()
TX06: Describes how to convert Macintosh Simplified Chinese encoding into GB2312.
Text & Fonts 1996-02-09
Converting to Precomposed Unicode (HTML) ()
QA1235: Describes how to convert a string to precomposed Unicode.
Text & Fonts 2003-02-07
Sorting Like the Finder (HTML)
QA1159: Shows how to sort strings like the Finder's list view.
Text & Fonts 2004-10-27
Getting NSWindow's toolbar actions to show up in Interface Builder (HTML)
QA1030: How to add the missing -toggleToolbarShown: and -runToolbarCustomizationPalette actions to Interface Builder.
Tools 2001-05-03
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Tools 2001-10-25
Background-only apps with NSStatusItems become active in 10.1 on NSStatusItem clicks (HTML)
QA1081: Preventing background-only apps from activating when their NSStatusItem(s) are clicked in Mac OS X 10.1.
User Experience 2001-10-30
Finding an NSView's current magnification. (HTML)
QA1346: How to discover the current magnification (zoom level) of any NSView.
User Experience 2004-12-13
Getting NSWindow's toolbar actions to show up in Interface Builder (HTML)
QA1030: How to add the missing -toggleToolbarShown: and -runToolbarCustomizationPalette actions to Interface Builder.
User Experience 2001-05-03
How to get custom views to show up in NSToolbarItems (HTML)
QA1029: Why custom views may not show up in an NSToolBarItem and how to make it visible.
User Experience 2001-05-03
How to remove the "Open Recent" menu item in a Document-based Cocoa application (HTML)
QA1289: Explains how to remove the "Open Recent" menu item in a Document-based Cocoa application.
User Experience 2003-09-15
How to set a custom drag image when doing an HFS Promise drag in Cocoa (HTML)
QA1200: Explains how to set a custom drag image when doing an HFS Promise drag in Cocoa.
User Experience 2003-09-15
Preventing crashes when using multiple disabled but editable NSComboBoxes (HTML) ()
QA1142: How to prevent a crash when using multiple disabled -- but editable --NSComboBoxes in a view.
User Experience 2002-06-03
Re-enabling dragging from NSTableView to other applications (HTML) ()
QA1220: Explains how to re-enable drag-and-drop from NSTableViews to other applications
User Experience 2002-12-02
Solving NSTabView drawing problems in Mac OS X 10.1.x (HTML) ()
QA1117: Explains how to work around NSTabView draw problems in Mac OS X 10.1.x
User Experience 2002-02-14
Suppressing the "unexpectedly quit" alert (HTML)
QA1288: Describes how to suppress the "unexpectedly quit" alert.
User Experience 2003-10-10
Why aren't my tracking rects working? (HTML)
QA1355: Describes a common mistake in setting up cursor-tracking rectangles.
User Experience 2004-12-02